<%@ Control Language="C#" AutoEventWireup="true" CodeFile="showRate.ascx.cs" Inherits="includes_showRate" %>
<script>

//<![CDATA[ 

var image<%=this.ID%>=<%=FullRate%>//orginal rating
var orgHalf<%=this.ID%>="<%=halfRate%>";

//alert(<%=FullRate%>);

for(i=0 ; i<image<%=this.ID%>; i++)
{
    if("<%=this.imageName%>" == "plus")
    {
        document.write("<img src='<%=Session["strHttp"]%>images/tick.png' alt='' style='padding-right:10px' />&nbsp;")
    }else
    {
        document.write("<img src='<%=Session["strHttp"]%>images/dollor-sign-img.gif' alt='' style='padding-right:10px'/>&nbsp;")
    }
}
if(orgHalf<%=this.ID%> == "True")
{
if("<%=this.imageName%>" == "plus")
    {
    document.write("<img src='<%=Session["strHttp"]%>images/plus-icon-rw.gif' alt='' style='padding-right:10px'/>&nbsp;")
    }else
    {
    document.write("<img src='<%=Session["strHttp"]%>images/plus-icon-rw.gif' alt='' style='padding-right:10px'/>&nbsp;")
    }    
}

//]]> 
</script>

